package com.entity;

/**
 * 产品实体类
 */
public class product {
  //产品id
  private int pid;
  //店铺外键id
  private int spid;
  //产品名字
  private String pname;
  //产品简介
  private String pbrief;

  public int getPid() {
    return pid;
  }

  public void setPid(int pid) {
    this.pid = pid;
  }

  public int getSpid() {
    return spid;
  }

  public void setSpid(int spid) {
    this.spid = spid;
  }

  public String getPname() {
    return pname;
  }

  public void setPname(String pname) {
    this.pname = pname;
  }

  public String getPbrief() {
    return pbrief;
  }

  public void setPbrief(String pbrief) {
    this.pbrief = pbrief;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public String getPathPic() {
    return pathPic;
  }

  public void setPathPic(String pathPic) {
    this.pathPic = pathPic;
  }

  //产品单价
  private double price;
  //产品图片路径
  private String pathPic;
}
